package routers

import (
	beego "github.com/beego/beego/v2/server/web"
	"live_room/controllers"
)

func init() {
	beego.Router("/", &controllers.MainController{})
	beego.Router("/live/create", &controllers.LiveController{}, "POST:Create")
	beego.Router("/live/list", &controllers.LiveController{}, "GET:List")
	beego.Router("/live/del", &controllers.LiveController{}, "POST:Del")
}
